#ifndef RECEPTION_INFOS_APACHE_H
#define RECEPTION_INFOS_APACHE_H

/////////////////////////////////////////////////////////////////  INCLUDE
//-------------------------------------------------------- Include système
//using namespace std;
// ----------------------------------------------------- Include Librairie
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/un.h>
#include <stdio.h>
#include <sys/msg.h>
#include <stdlib.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <errno.h>
#include <unistd.h>



#include <dirent.h>

//------------------------------------------------------ Include personnel
#include "utils.h"
#include "socket_utils.h"

///////////////////////////////////////////////////////////////////  PRIVE
//------------------------------------------------------------- Constantes
#define MAX_CLIENTS_APACHE 100
#define PORT_ECOUTE_APACHE 9999
#define BACKLOG_APACHE 10 //nombre max de connexions en attente
#define BUF_SIZE_APACHE	1024

//------------------------------------------------------------------ Types
/*typedef struct
{
   SOCKET sock;
   char name[BUF_SIZE];
}Client;*/


//---------------------------------------------------- Variables statiques
int listenfd;
struct sockaddr_in servaddr;
time_t tics;
int idBal;


void ReceptionInfosApache(void* bal);


#endif
